<script setup lang="ts">

</script>

<template>
<div class="wrap">
  <div class="container">
    <div class="item"></div>
    <div class="item"></div>
    <div class="item"></div>
    <div class="item"></div>
  </div>
</div>
</template>

<style scoped lang="scss">
.wrap {
  width: 100vw;
  min-height: 100vh;
  font-family: "Exo", Arial, sans-serif;
  background-color: #557;
  color: #fff;
  display: grid;
  place-content: center;
  padding: 1rem;

  .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    outline: 1px ;
    counter-reset: item;
    inline-size: 800px;

    .item {
      counter-increment: item;
      display: flex;
      justify-content: center;
      align-items: center;
      min-height: 50vmin;
      background-color: #f36;
      color: #000;

      &:nth-child(1) {
        background-color: #f1c2c6;
      }
      &:nth-child(2) {
        background-color: #dac2f1;
      }
      &:nth-child(3) {
        background-color: #ccf1c2;
      }
      &:nth-child(4) {
        background-color: #c2e9f1;
      }
      &::before {
        content: counter(item);
        font-family: "Bungee Shade", cursive;
        font-size: 3.5rem;
      }
    }
  }
}
</style>
